home *** CD-ROM | disk | FTP | other *** search
/ Hot Metal Pro 4.0 / Hot Metal Pro 4.0.iso / HMPRO4 / odbc / readme.txt < prev    next >
Encoding:
Text File  |  1997-01-07  |  2.6 KB  |  78 lines

  1. ODBC Directory
  2. ==============
  3.  
  4. The \VB\ODBC directory can be used to redistribute ODBC and the ODBC drivers that ship in Visual
  5. Basic 5.0 with your application. The Visual Basic 5.0 Setup Wizard does not support the setup
  6. and distribution ODBC or the ODBC drivers found on your computer.  This directory is provided
  7. to assist you in distributing and properly installing all of the components required to use
  8. ODBC with your application.
  9.  
  10. Contents
  11. --------
  12. The Setup provided within is a standard setup used by other Microsoft applications, such as
  13. Visual Basic 5.0 itself.  Setup supports a maintenance mode after installation, which can be
  14. accessed through the Control Panel (Add/Remove Programs).  The ODBC setup installs the
  15. following components:
  16.  
  17. - Core ODBC
  18. - Microsoft SQL Server ODBC Driver
  19. - Microsoft Oracle ODBC Driver
  20. - Microsoft ODBC Desktop Driver Pack
  21.  
  22. The end user is presented with the option of installing all of the ODBC drivers, or can
  23. choose which drivers to install through the Custom setup option.
  24.  
  25. Distribution
  26. ------------
  27. You can distribute the contents of the directory "as is", or you can create floppy disks from
  28. the contents of the directory.
  29.  
  30. Creating Floppy Disks
  31. ---------------------
  32. To distribute ODBC on floppy disks, you will need three (3) formatted 1.44 meg (or greater) 
  33. floppy disks. You can simply copy the contents onto the disks, and run setup.exe from Disk1.  
  34.  
  35. Disk1
  36.    Setup.exe
  37.    Setup.ini
  38.    Setup.lst
  39.    Setup.tdf
  40.    Odbcstp.inf
  41.    Odbc-1.cab
  42.  
  43. Disk2
  44.    Odbc2-cab
  45.  
  46. Disk3
  47.    Odbc3-cab
  48.  
  49. Running ODBC Setup from a Network Share
  50. ---------------------------------------
  51. If you are distributing your application over a network, you can copy the contents of this 
  52. directory to a network share and run setup.exe from that location.
  53.  
  54. Internet Component Download of ODBC
  55. -----------------------------------
  56. This ODBC setup has been packaged into a Cabinet file that can be used to automatically download
  57. and install ODBC via Component Download.  The Cabinet file (ODBC30.Cab) can be found in the 
  58. \Tools\Cabinets directory and on http://activex.microsoft.com/controls/vb5.
  59.  
  60. The following sample .INF file entries show how to include ODBC in your download package.
  61.  
  62. [version]
  63. signature="$CHICAGO$"
  64. AdvancedINF=2.0
  65.  
  66. ;Use the ODBC driver that you want to install
  67. [Add.Code]
  68. sqlsrv32.dll=sqlsrv32.dll
  69.  
  70. ;Replace FileVersion with the appropriate version of the ODBC driver
  71. [sqlsrv32.dll]
  72. hook=ODBC30.cab_Installer
  73. FileVersion=X,X,X,X
  74.  
  75. [ODBC30.cab_Installer]
  76. file-win32-x86=ODBC30.cab
  77. run=%EXTRACT_DIR%\ODBC30.exe
  78.